package com.aimei.message.service.impl;


import com.codingapi.tx.config.service.TxManagerTxUrlService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author xiah
 * @date 2018/5/15 13:36
 */

@Service
public class TxManagerTxUrlServiceImpl implements TxManagerTxUrlService {


       @Value("${tm.manager.url}")
       private String url;

       @Override
       public String getTxUrl() {
              System.out.println("-------load tm.manager.url-------------");
              return url;
       }
}
